<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><body bgcolor=green>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Awesome Banking System</title>
</head>
<body>
<h1>Your Accounts</h1>
<% 
	int count = 0;
	String attr = "accnt";
	String temp = (String) request.getAttribute(attr+count);
	
	while(temp!=null){
		out.println(temp+"<br>");
		count++;
		temp = (String) request.getAttribute(attr+count);
	}
%>
<form action=MainPage><input type="submit" value="Back to Main Page"></form>
</body>
</html>